package com.yhos.platform.oopston.core.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("分页返回结果")
public class PageResponse<T> extends Response<T> {

    @ApiModelProperty(value = "分页信息")
    private PageInfo pageInfo;

    public PageResponse() {

    }

    public PageResponse(PageInfo pageInfo) {
        this.pageInfo = pageInfo;
    }

    public PageInfo getPageInfo() {
        return pageInfo;
    }

    public void setPageInfo(PageInfo pageInfo) {
        this.pageInfo = pageInfo;
    }

}
